using UnityEngine;
using UnityEngine.Rendering;

namespace SSRP
{
    [CreateAssetMenu(menuName = "SSRP/Render Pipeline")]
    public class SSRPAsset : RenderPipelineAsset
    {
        [SerializeField] bool useDynamicBatching = true;
        [SerializeField] bool useGPUInstancing = true;
        [SerializeField] bool useSRPBatcher = true;
        protected override RenderPipeline CreatePipeline()
        {
            return new SSRPCore(useDynamicBatching, useGPUInstancing, useSRPBatcher);
        }
    }
}
